<?php 
$id= $_GET["id"];
$sql = "select * from lop where ID=".$id;
$result = mysql_query($sql);
$row = mysql_fetch_array($result);
?>
<form name="form1" method="post" action="?mod=qll&act=updateOk" enctype="multipart/form-data">
<input name="id" type="hidden" value="<?php echo $row["ID"] ?>">

  <p>M&atilde; L&#7899;p:
    <input type="text" name="maLop" value="<?php echo $row["maLop"]?>">
  </p>
  <p>T&ecirc;n L&#7899;p: 
    <input type="text" name="tenLop" value="<?php echo $row["tenLop"]?>">
  </p>
  <p>T&ecirc;n Ng&agrave;nh: 
    <input type="text" name="tenNganh" value="<?php echo $row["tenNganh"]?>">
  </p>
  <p>
    <input type="submit" name="Submit" value="L&#432;u">
  </p>
</form>
